<?php
return array(
	'defaultScope' => array(
		'condition' => "object_type = 'OrderNative'",
	),
	'relations' => array(
		'profile' => array(CActiveRecord::HAS_ONE, 'OrderAddonNative', 'order_id'),
		'receiverInfo' => array(CActiveRecord::HAS_ONE, 'NativeOrderReceiverInfo', 'order_id'),
	),
	'_import' => array(
		array('*', 'models.Order//*'),
	),
);